home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / clipper / 52dix.zip / INSTALL.DAT < prev    next >
Text File  |  1994-04-21  |  20KB  |  688 lines

  1. /****************************************************************/
  2. /*  INSTALL.DAT                                                 */
  3. /*                                                              */
  4. /*  Copyright (c) 1993 Computer Associates International        */
  5. /*  All Rights Reserved                                         */
  6. /*                                                              */
  7. /*  Last revision:   04/21/94                                   */
  8. /****************************************************************/
  9.  
  10. @DefineProject
  11.    @Group     = "A"
  12.    @Requires  @HardDisk
  13.    @Name      = "CA-Clipper 5.2d (Int'l) / ExoSpace 1.0f"
  14.    @Version   = "5.2d"
  15.    @OutDrive  = C
  16.    @Subdir    = "\\CLIPPER5"
  17. @EndProject
  18.  
  19. @DefineVars
  20.    @Integer @InDisk  = 0      /* change for proper input disk type */
  21.    @Integer @IsExo   = 1      /* is ExoSpace installed */
  22.    @Dir @Bin           = "@SubDir\\BIN"
  23.    @Dir @Include       = "@SubDir\\INCLUDE"
  24.    @Dir @Lib           = "@SubDir\\LIB"
  25.    @Dir @Obj           = "@SubDir\\OBJ"
  26.    @Dir @Dbu           = "@SubDir\\SOURCE\\DBU"
  27.    @Dir @Rl            = "@SubDir\\SOURCE\\RL"
  28.    @Dir @Sys           = "@SubDir\\SOURCE\\SYS"
  29.    @Dir @Sample        = "@SubDir\\SOURCE\\SAMPLE"
  30.    @Dir @Ng            = "\\NG"
  31.    @Dir @ExoBin        = "@SubDir\\BIN"
  32.    @Dir @Error         = "@SubDir\\SOURCE\\ERROR"
  33.    @Dir @Filesys       = "@SubDir\\SOURCE\\FILESYS"
  34.    @Dir @Item          = "@SubDir\\SOURCE\\ITEM"
  35.    @Dir @Sdx           = "@SubDir\\SOURCE\\SDX"
  36.    @Dir @Vm            = "@SubDir\\SOURCE\\VM"
  37.    @Qstring @NewLine   = "\n"
  38.    @Qstring @Pkbkp     = "/O"  
  39.    @Qstring @InstName  = @Name  
  40.    
  41. @EndVars
  42.  
  43. @Display
  44. @Cls
  45.   █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█     @InstName Patch 
  46.   █ Computer        █
  47.   █  Associates     █     This program will upgrade the CA-Clipper   
  48.   █   International █     version 5.20, 5.2a, 5.2b or 5.2c files on
  49.   █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█     your computer system to 5.2d. It will also
  50.        ▄▄▄▄▄▄▄▄▄          upgrade CA-Clipper/Exospace to version 1.0f
  51.     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄       if ExoSpace is already installed on your 
  52.                           computer.  The basic steps in the procedure 
  53.                           are as follows: 
  54.    
  55.                           ■ Specify target directories
  56.                           ■ Install patch files to hard disk
  57.                           ■ Execute patch files
  58.  
  59.                   Press Esc at any time to stop the installation.
  60.  
  61.                                        @Pause
  62.  
  63. @EndDisplay
  64. @GetOption
  65. @LocalWindow(9,38)
  66. @Cls
  67.  
  68. @Cls
  69.   █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█   @InstName Installation
  70.   █ Computer        █
  71.   █  Associates     █     
  72.   █   International █     Exit Patch and Perform a backup?
  73.   █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█     
  74.        ▄▄▄▄▄▄▄▄▄         
  75.     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  76.  
  77.                             @Option 10 = "Exit" 
  78.                             @Option 11 = "Continue" 
  79.  
  80. @Newline
  81.  
  82.          You should backup your current versions of CA-Clipper 5.2 and
  83.          ExoSpace (if it's installed) and remove any prior versions of 
  84.          CA-Clipper 5.2 from your CA-Clipper 5.2 directory structure 
  85.          before applying the CA-Clipper 5.2d upgrade patch.  If you 
  86.          have not backed up and removed any prior versions (as per the 
  87.          instructions contained in the 52DI.TXT file) yet, you should 
  88.          exit this installation, perform a backup and restart the patch 
  89.          process.
  90.  
  91. @EndOption
  92.  
  93. @If ( 10 [= @Option )
  94.    @Exit ()
  95. @Endif
  96.  
  97.  
  98. DrivePick:
  99. @GetOutDrive
  100. @Suppress A
  101. @Suppress B
  102. @LocalWindow(11,36)
  103. @Cls
  104.   █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█   @InstName Installation
  105.   █ Computer        █
  106.   █  Associates     █     Select Target Drive:
  107.   █   International █
  108.   █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  109.        ▄▄▄▄▄▄▄▄▄
  110.     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.      Use  and  to highlight the drive where CLIPPER 5.2 is installed, 
  121.      then press ─┘ to continue. Press Esc to exit.  
  122.  
  123. @EndOutDrive
  124.  
  125. @GetSubdir
  126. @LocalWindow(7,56)
  127. @Cls
  128.   █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█   @InstName Installation
  129.   █ Computer        █
  130.   █  Associates     █     Select Clipper 5.2 Directory:
  131.   █   International █
  132.   █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  133.        ▄▄▄▄▄▄▄▄▄
  134.     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.      Type the directory name where CLIPPER 5.2 is installed, then
  142.      press ─┘ to continue. Press Esc to exit.  
  143.  
  144. @EndSubdir
  145.  
  146. @GetOption
  147. @LocalWindow(8,40)
  148. @Cls
  149.  
  150. @Cls
  151.   █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█   @InstName Installation
  152.   █ Computer        █
  153.   █  Associates     █     
  154.   █   International █     Do you have ExoSpace installed?
  155.   █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█     
  156.        ▄▄▄▄▄▄▄▄▄         
  157.     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  158.  
  159.                             @Option 50 = "  Yes  " 
  160.                             @Option 51 = "  No   " 
  161.  
  162.  
  163.  
  164. @Newline
  165.  
  166.     Select 'Yes' if you have CA-Clipper/ExoSpace installed.  You will be 
  167.     prompted for the directory name where EXOSPACE.EXE is installed.
  168.     You should NOT press 'Yes' if you do not have ExoSpace installed on 
  169.     your computer.
  170.  
  171. @EndOption
  172.  
  173. @If ( 51 [= @Option )
  174.    @IsExo = 0
  175.    @InstName = "CA-Clipper 5.2d (International)"
  176. @Endif
  177.  
  178. @If ( @IsExo != 0 )
  179. @GetSubdir @ExoBin
  180. @LocalWindow(7,56)
  181. @Cls
  182.   █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█   @InstName Installation
  183.   █ Computer        █
  184.   █  Associates     █     Select ExoSpace.EXE Directory
  185.   █   International █
  186.   █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  187.        ▄▄▄▄▄▄▄▄▄
  188.     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.      Type a directory name, and press ─┘ to continue. Press Esc to exit.
  196.  
  197. @EndSubdir
  198. @Endif
  199.  
  200. @GetOption
  201. @LocalWindow(7,40)
  202. @Cls
  203.  
  204. @Cls
  205.   █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█   @InstName Installation
  206.   █ Computer        █
  207.   █  Associates     █     Patch files in the following directories?
  208.   █   International █
  209.   █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  210.        ▄▄▄▄▄▄▄▄▄
  211.     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  212.                             @Option 101 = "  Yes  "
  213.                             @Option 102 = "  No   "
  214. @Move(9,1)
  215.                          Executables  =>  @Subdir\BIN
  216.                          Libraries    =>  @Subdir\LIB
  217.                          Header files =>  @SubDir\INCLUDE
  218.                          Obj files    =>  @SubDir\OBJ
  219.                          Norton guide =>  \NG
  220. @If ( @IsExo != 0 )
  221.    @Move(14,1)
  222.                          ExoSpace.EXE =>  @ExoBin
  223. @Endif
  224.  
  225.  
  226.       Select 'Yes' to proceed with patch installation using directories 
  227.       shown above.  If you select 'No', you will be prompted for each
  228.       of the above directories.
  229. @EndOption
  230.  
  231. @Bin = "@Subdir\\Bin"
  232. @Lib = "@Subdir\\Lib"
  233. @Include = "@Subdir\\Include"
  234. @Obj = "@Subdir\\Obj"
  235. @Ng = "\\NG"
  236.  
  237. @If ( ( 102 [= @Option ) || ( ! @DirExists( "@OutDrive:@Bin" ) ) )
  238. GetBinPath:
  239.   @GetSubdir @Bin
  240.   @LocalWindow(9,48)
  241.   @Move(12,1)
  242.                 Enter the path to the BIN directory, then
  243.                 press ─┘ to continue.  Press Esc to exit.  
  244.  
  245.   @EndSubdir
  246.  
  247.   @If ( ! @DirExists( "@OutDrive:@Bin" ) )
  248.     @Display
  249.     @Move( 12, ( 58 - @StrLen( "@Bin" ) ) / 2, "@OutDrive:@Bin DIRECTORY NOT FOUND" )
  250.     @Move( 16, 1 )
  251.                                        @Pause
  252.     @EndDisplay
  253.     @Goto GetBinPath
  254.   @Endif
  255. @Endif
  256.  
  257. @If ( ( 102 [= @Option ) || ( ! @DirExists( "@OutDrive:@Lib" ) ) )
  258. GetLibPath:
  259.   @GetSubdir @Lib
  260.   @LocalWindow(9,48)
  261.   @Move(12,1)
  262.                 Enter the path to the LIB directory, then
  263.                 press ─┘ to continue.  Press Esc to exit.  
  264.   @EndSubdir
  265.  
  266.   @If ( ! @DirExists( "@OutDrive:@Lib" ) )
  267.     @Display
  268.     @Move( 12, ( 58 - @StrLen( "@Lib" ) ) / 2, "@OutDrive:@Lib DIRECTORY NOT FOUND" )
  269.     @Move( 16, 1 )
  270.                                        @Pause
  271.     @EndDisplay
  272.     @Goto GetLibPath
  273.   @Endif
  274. @Endif
  275.  
  276. @If ( ( 102 [= @Option ) || ( ! @DirExists( "@OutDrive:@Include" ) ) )
  277. GetIncludePath:
  278.   @GetSubdir @Include
  279.   @LocalWindow(9,48)
  280.   @Move(12,1) 
  281.                 Enter the path to the INCLUDE directory, then
  282.                 press ─┘ to continue.  Press Esc to exit.  
  283.   @EndSubdir
  284.  
  285.   @If ( ! @DirExists( "@OutDrive:@Include" ) )
  286.     @Display
  287.     @Move( 12, ( 58 - @StrLen( "@Include" ) ) / 2, "@OutDrive:@Include DIRECTORY NOT FOUND" )
  288.     @Move( 16, 1 )
  289.                                        @Paus